#pragma once
#include "map"
#include "list"
#include "string"

struct SceneModules
{
	std::map<std::string, std::string> m_mapModules;
	std::map<std::string, std::string> m_mapHooks;
	std::list<std::string> m_lstLibrary;
};
class ModuleParsar
{
public:
	ModuleParsar();
	void Parse(const char *lpzConfig);
	~ModuleParsar(void);
	const std::map<std::string, SceneModules> &GetSceneModules(){	return m_mapScenes;	}
	bool GetLibrary(const char *lpzScene, std::list<std::string> &);
	bool GetModule(const char *lpzScene, std::map<std::string, std::string> &);
	bool GetHooks(const char *lpzScene, std::map<std::string, std::string> &);
private:
	std::map<std::string, SceneModules> m_mapScenes;
};
